<md-sidenav-container>
  <md-sidenav #sidenav mode='voer'>
      <app-sidebar (routerClick)="sidenav.toggle()"></app-sidebar>
  </md-sidenav> 
    <div class="site">
        <header>
          <app-header (toggle)="sidenav.toggle()"></app-header>
        </header>
        <main>
       <router-outlet></router-outlet> 
       
        </main>
        <footer>
          <app-footer></app-footer>
        </footer>
       </div>
</md-sidenav-container>  
